SELECT
Addr,
reverse(left(reverse(Addr), charindex('\', reverse(Addr)) -1)) AS FileName
FROM myTbl
Addr,
reverse(left(reverse(Addr), charindex('\', reverse(Addr)) -1)) AS FileName
FROM myTbl